package com.sharekitchen.entity;
import java.util.List;

public class LineData {
    private List<String> legendData;//集合数据
    private List<String> xAxisData;//x轴数据
    private List<SingleData> series;//所有单独数据的集合

    public LineData(List<String> legendData, List<String> xAxisData, List<SingleData> series) {
        this.legendData = legendData;
        this.xAxisData = xAxisData;
        this.series = series;
    }

    @Override
    public String toString() {
        return "LineData{" +
                "legendData=" + legendData +
                ", xAxisData=" + xAxisData +
                ", series=" + series +
                '}';
    }

    public LineData() {
    }

    public List<String> getLegendData() {
        return legendData;
    }

    public void setLegendData(List<String> legendData) {
        this.legendData = legendData;
    }

    public List<String> getxAxisData() {
        return xAxisData;
    }

    public void setxAxisData(List<String> xAxisData) {
        this.xAxisData = xAxisData;
    }

    public List<SingleData> getSeries() {
        return series;
    }

    public void setSeries(List<SingleData> series) {
        this.series = series;
    }
}
